import { createSSRApp } from "vue";
import * as Pinia from 'pinia';
// @escook/request-miniprogram 网络请求
// import { $http } from '@escook/request-miniprogram'
// import $http from './utils/api'
import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
//   app.config.globalProperties.$http = $http;
  app.use(Pinia.createPinia());
  return {
    app,
    Pinia
  };
}


// 在 uni-app 项目中，可以把 $http 挂载到 uni 顶级对象之上，方便全局调用


